home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / tt_fd.z / tt_fd
Encoding:
Text File  |  2002-10-03  |  3.1 KB  |  66 lines

  1.  
  2.  
  3.  
  4. tttttttt____ffffdddd((((3333))))                                                              tttttttt____ffffdddd((((3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      tt_fd - return a file descriptor
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<TTTTtttt////tttttttt____cccc....hhhh>>>>
  13.      iiiinnnntttt tttttttt____ffffdddd((((vvvvooooiiiidddd))));;;;
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      The tttttttt____ffffdddd() function returns a file descriptor.  The returned file
  17.      descriptor alerts the process that a message has arrived for the default
  18.      procid in the default session.
  19.  
  20.      File descriptors are either active or inactive.  When the file descriptor
  21.      becomes active, the process must call tttttttt____mmmmeeeessssssssaaaaggggeeee____rrrreeeecccceeeeiiiivvvveeee(3) to receive
  22.      the message.
  23.  
  24. RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  25.      Upon successful completion, the tttttttt____ffffdddd() function returns the file
  26.      descriptor for the current procid.  The application can use
  27.      tttttttt____iiiinnnntttt____eeeerrrrrrrroooorrrr(3) to extract one of the following TTTTtttt____ssssttttaaaattttuuuussss values from the
  28.      returned integer:
  29.  
  30.         TTTTTTTT____OOOOKKKK   The operation completed successfully.
  31.  
  32.         TTTTTTTT____EEEERRRRRRRR____NNNNOOOOMMMMPPPP
  33.                 The ttttttttsssseeeessssssssiiiioooonnnn(1) process is not running and the ToolTalk
  34.                 service cannot restart it.
  35.  
  36.         TTTTTTTT____EEEERRRRRRRR____PPPPRRRROOOOCCCCIIIIDDDD
  37.                 The current default process identifier is out of date or
  38.                 invalid.
  39.  
  40.         TTTTTTTT____EEEERRRRRRRR____SSSSEEEESSSSSSSSIIIIOOOONNNN
  41.                 The specified ToolTalk session is out of date or invalid.
  42.  
  43. AAAAPPPPPPPPLLLLIIIICCCCAAAATTTTIIIIOOOONNNN UUUUSSSSAAAAGGGGEEEE
  44.      The application must have a separate file descriptor for each procid.  To
  45.      get an associated file descriptor, the application should use tttttttt____ffffdddd()
  46.      each time it calls tttttttt____ooooppppeeeennnn(3).
  47.  
  48. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  49.      TTTTtttttttttttt____cccc(5), tttttttt____ooooppppeeeennnn(3), tttttttt____iiiinnnntttt____eeeerrrrrrrroooorrrr(3), tttttttt____mmmmeeeessssssssaaaaggggeeee____rrrreeeecccceeeeiiiivvvveeee(3).
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.                                                                         PPPPaaaaggggeeee 1111
  62.  
  63.  
  64.  
  65.